package com.xsdl.Interpreter;

import java.util.Arrays;
import java.util.List;

public class Main {

    public static void main(String[] args) {
        List<String> suffixExpressions = Arrays.asList("1", "3", "4", "2", "-", "2", "3", "6",
                "*", "+", "*", "*", "+", "30", "-");
        ExpressionParse parse = new ExpressionParse();
        System.out.println(parse.parse(suffixExpressions).getValue());
        System.out.println(((1 + (3 * ((4 - 2) * (2 + (3 * 6))))) - 30));
    }

}
